﻿@model NFine.Domain._03_Entity.Biz.BasicSettingEntity
@{
    ViewBag.Title = "基本设置";
    Layout = "~/Views/Shared/_Form.cshtml";
}

<link href="~/Content/js/uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<script src="~/Content/js/uploadify/jquery.uploadify.min.js" type="text/javascript"></script>
<link href="~/Content/js/simditor/css/simditor.css" rel="stylesheet" />
<script src="~/Content/js/simditor/js/module.min.js"></script>
<script src="~/Content/js/simditor/js/hotkeys.min.js"></script>
<script src="~/Content/js/simditor/js/uploader.min.js"></script>
<script src="~/Content/js/simditor/js/simditor.min.js"></script>
<style type="text/css">
    /*文本编辑器高度*/
    .simditor .simditor-body, .editor-style {
        min-height: 350px;
    }
</style>
<form id="form1">
    <table class="form" style="width:auto">
        <tr>
            <th class="formTitle">公告内容：</th>
            <td class="formValue">
                <textarea type="text" id="F_Name" name="F_Name" class="form-control required" style="width:400px; height:150px;" >@Model.F_Name</textarea>
            </td>
        </tr><tr>
    <th class="formTitle"></th>
    <td class="formValue">
        <input type="button" id="btnSub" class="btn btn-primary" value="设 置" onclick="submitForm()" />
    </td>
</tr>
    </table>
</form>
<script>
    $(function () {
      
    });
    function submitForm() {
        if (!$('#form1').formValid()) {
            return false;
        }
        $.submitForm({
            url: "/Messages/SubmitFormBaseSetting",
            param: $("#form1").formSerialize(),
            success: function () {
                $.reload();
            }
        });
    }
</script>